package com.cfs.po.sys;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "CommonBean")
public class CommonBean implements Serializable{
	private static final long serialVersionUID = 1L;
	/**
	 * 卖场管理（销量查询）二期&&下属组织获取条件
	 * 
	 * */
	
	/**
	 *  登录人所属组织id
	 */
	private long orgId;

	/**
	 *  登录人所属组织层级
	 */
	private int levels;
	
	/**
	 * 开始时间
	 */
	private long startDate;
	/**
	 * 结束时间
	 */
	private long endDate;
	/**
	 * 品类
	 */
	private long category;
	
	/**
	 * 登录人所选的子级别过滤组织
	 * 1.分公司登录人，保存办事处组织id
	 * 2.办事处登录人，保存片区组织id
	 * 3.片区,门店登录人，保存门店组织id
	 */
	private Long[] pointId;
	/**
	 * "1":销量(wholeNum),"2":供价(supplyPriceAmount),"3":实际售价(wholeAmount)
	 */
	
	private int searchType;
	/**
	 * 产品型号
	 * */
	private String productType;
	
	/**
	 * 开始时间
	 * 格式：2013-01
	 */
	private String startMonthStr;
	

	/**
	 * 结束时间
	 * 格式：2013-04
	 */
	private String endMonthStr;
	
	
	public String getStartMonthStr() {
		return startMonthStr;
	}

	public void setStartMonthStr(String startMonthStr) {
		this.startMonthStr = startMonthStr;
	}

	public String getEndMonthStr() {
		return endMonthStr;
	}

	public void setEndMonthStr(String endMonthStr) {
		this.endMonthStr = endMonthStr;
	}

	
	public long getOrgId() {
		return orgId;
	}

	public void setOrgId(long orgId) {
		this.orgId = orgId;
	}

	public int getLevels() {
		return levels;
	}

	public void setLevels(int levels) {
		this.levels = levels;
	}

	public long getStartDate() {
		return startDate;
	}

	public void setStartDate(long startDate) {
		this.startDate = startDate;
	}

	public long getEndDate() {
		return endDate;
	}

	public void setEndDate(long endDate) {
		this.endDate = endDate;
	}

	public long getCategory() {
		return category;
	}

	public void setCategory(long category) {
		this.category = category;
	}

	public Long[] getPointId() {
		return pointId;
	}

	public void setPointId(Long[] pointId) {
		this.pointId = pointId;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public int getSearchType() {
		return searchType;
	}

	public void setSearchType(int searchType) {
		this.searchType = searchType;
	}

	public String getProductType() {
		return productType;
	}

	public void setProductType(String productType) {
		this.productType = productType;
	}


}
